﻿using System;
using System.Reflection;
using System.Runtime.InteropServices.Expando;
using System.Runtime.InteropServices.ComTypes;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Drawing;
using System.Drawing.Imaging;
using System.Threading;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Net;
using System.Linq;
using System.Text;
using BrainTechLLC.ImageOperatorsNonAForgeDependent;
using BrainTechLLC;
using System.Configuration;
using System.Diagnostics;
using BrainTechLLC.ThreadSafeObjects;

namespace BrainTechLLC.WebCamLib3
{
    public class LocalVideoDevice : BaseNotifyPropertyChanged
    {
        protected string _deviceName;
        protected string _deviceMoniker;

        public string DeviceName
        {
            get { return _deviceName; }
            set
            {
                if (_deviceName != value)
                {
                    _deviceName = value;
                    OnPropertyChanged("DeviceName");
                }
            }
        }

        public string DeviceMoniker
        {
            get { return _deviceMoniker; }
            set
            {
                if (_deviceMoniker != value)
                {
                    _deviceMoniker = value;
                    OnPropertyChanged("DeviceMoniker");
                }
            }
        }

        public LocalVideoDevice(string name, string moniker)
        {
            _deviceName = name;
            _deviceMoniker = moniker;
        }
    }
}
